<template>
  <div>测试一下给Slot添加事件监听</div>
  <slot-event-test>
    <template #referer>
      <button>点我吧，我是一个slot</button>
    </template>
  </slot-event-test>
  <slot-event-test>
    <template #referer>
      <test-button/>
    </template>
  </slot-event-test>


</template>

<script setup lang="ts">
import SlotEventTest from './components/SlotEventTest.vue';
import TestButton from './components/TestButton.vue';
</script>

<style scoped>

</style>
